﻿using System;

namespace doufu.Common
{
    static public class DataTimeExtension
    {
        static public string ToStr(this DateTime src, string format = "yyyy-MM-dd HH:mm:ss")
        {
            return src.ToString(format);
        }
    }
}